package com.zcb.agrimarket.mapper;

import com.zcb.agrimarket.pojo.TeacherApplyLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
* @author KarrySmile
* @description 针对表【teacher_apply_log(教师申请表)】的数据库操作Mapper
* @createDate 2024-04-05 22:52:29
* @Entity generator.domain.TeacherApplyLog
*/
@Mapper
public interface TeacherApplyLogMapper extends BaseMapper<TeacherApplyLog> {

    @Update("update teacher_apply_log set state = #{state} where id = #{id}")
    void updateById(Long id, Integer state);
}




